//
//  Syncronize.h
//  InterventixApp
//
//  Created by Diego on 29/01/13.
//  Copyright (c) 2013 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Utente.h"

@interface Syncronize : NSObject
/*

// Clienti
+(void) updateClients:(NSArray *) clients from:(Utente *) u;
+(void) deleteClients:(NSArray *) clients from:(Utente *) u;;
+(NSDictionary *) findClient:(NSString *) idclient on:(NSMutableArray *) clients;
+(NSArray *) findClientsLike:(NSString *) nominativo;
+(NSArray *) findClientsLastUsed;
+(NSMutableArray *) getClients:(Utente *) u;



// Interventi
+(void) updateIntervents:(NSArray *) intervents from:(Utente *) u;
+(void) deleteIntervents:(NSArray *) intervents from:(Utente *) u;
+(void) compareIntervents:(NSArray *) intervents from:(Utente *) u;
+(NSMutableArray *) getIntervents:(Utente *) u;;
+(NSDictionary *) findIntervent:(NSString *) idintervent on:(NSMutableArray *) intervents;
+(void) deleteIntervent:(NSString *) idintervent from:(Utente *) u;


// Utenti
+(void) updateUsers:(NSArray *) users from:(Utente *) u;
+(void) deleteUsers:(NSArray *) users from:(Utente *) u;
+(NSMutableArray *) getusers:(Utente *) u;
+(NSDictionary *) findUser:(NSString *) iduser on:(NSMutableArray *) users;
+(NSDictionary *) findUser:(NSString *) iduser from:(Utente *) u;



+(Utente *) getUserLog;

+(void) toString;
 */

@end
